package com.joker;

import redis.clients.jedis.Jedis;

/**
 * @Author JokerKS
 * @Date 2021/12/31 09:23
 * @Version 1.0
 */
public class TestPing {
	public static void main(String[] args) {
		//	创建jedis对象
		Jedis jedis = new Jedis("127.0.0.1", 6379);
		System.out.println(jedis.ping());
	}
}
